package com.common;

import java.io.Serializable;

/**
 *
 */
/*
这是一个用户信息类
 */
public class User implements Serializable {
    private static final long serialVersionUID=1614L;
    private String id;
    private String pwd;
    private String username;
    private String realname;
    private String sex;
    private int usergrade;
    private int uservalue;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getUsergrade() {
        return usergrade;
    }

    public void setUsergrade(int usergrade) {
        this.usergrade = usergrade;
    }

    public int getUservalue() {
        return uservalue;
    }

    public void setUservalue(int uservalue) {
        this.uservalue = uservalue;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", pwd='" + pwd + '\'' +
                ", username='" + username + '\'' +
                ", realname='" + realname + '\'' +
                ", sex='" + sex + '\'' +
                ", usergrade=" + usergrade +
                ", uservalue=" + uservalue +
                '}';
    }
}
